$(function(){
	$.ajax({ 
			url: '../position/getPositions',
			type: 'post',
			async: true,
			dataType: 'json',
			success: function(res) {	
				if(res.result == AjaxMsgConstants.SUCCESS){
						var listLength = res.positions.length;
						for(var i = 0 ;i < listLength;i++){
							createOptions(res.positions[i]);
							}
					}
			}
		});
});
function createOptions(optionsData){
		$("#createOptions").html("<option value="+optionsData.positionId+">"+optionsData.positionName+"</option>");
}